<?php
$blog='NULL';
$blogdata='NULL';
$optiondomain = 'system';
$_REQUEST['b']='system';

require('private.php');
require(CONFIGPATH . 'wp-config.php');
require_once( ABSPATH . WPINC . '/registration-functions.php');

global $rss_date;

if($_GET["id"]){
	$rss_content = show_portal_rss("Articles", 15,1, $_GET["id"]);
}
else{
	$rss_content = show_portal_rss("Articles", 10,3 );
}

$title=" 推荐文章";
if($_GET["title"]) $title=$_GET["title"];


echo '<?xml version="1.0" encoding="utf-8"?>';

?>
<rss version="2.0">
<channel>
<title>德赛公园 <?php echo $title;?></title>
<link>http://www.de-sci.org/</link>
<description>德赛公园 文章汇集</description>
<pubDate><?php echo $rss_date; ?></pubDate>

<language>zh-cn</language>
<?php
echo $rss_content;
?>

</channel>
</rss>
